package com.cyy.activitylifecycleyanalysisdemo.fragment;


import android.annotation.SuppressLint;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.cyy.activitylifecycleyanalysisdemo.R;
import com.cyy.activitylifecycleyanalysisdemo.utils.LogUtils;


@SuppressLint("ValidFragment")
public class DefaultFragment extends AbstractBaseFragment {

    private String fragmentName;

    public DefaultFragment(String fragmentName) {
        this.fragmentName = fragmentName;
    }

    @Override
    protected String getLogTag() {
        return LogUtils.getClassTag(getClass())+":"+fragmentName;
    }


    @Override
    protected int getDefaultLayoutResId() {
        return 0;
    }

    @Override
    protected String getDefaultText() {
        return fragmentName;
    }

}
